/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.sanerzone.smscenter.modules.sms.service;

import com.sanerzone.jeebase.common.persistence.Page;
import com.sanerzone.jeebase.common.service.CrudService;
import com.sanerzone.smscenter.modules.sms.dao.SmsCompanyDao;
import com.sanerzone.smscenter.modules.sms.entity.SmsCompany;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * aaaaService
 * @author zequs
 * @version 2017-08-03
 */
@Service
@Transactional(readOnly = true)
public class SmsCompanyService extends CrudService<SmsCompanyDao, SmsCompany> {

	public SmsCompany get(String id) {
		return super.get(id);
	}
	
	public List<SmsCompany> findList(SmsCompany smsCompany) {
		return super.findList(smsCompany);
	}
	
	public Page<SmsCompany> findPage(Page<SmsCompany> page, SmsCompany smsCompany) {
		return super.findPage(page, smsCompany);
	}
	
	@Transactional(readOnly = false)
	public void save(SmsCompany smsCompany) {
		super.save(smsCompany);
	}
	
	@Transactional(readOnly = false)
	public void delete(SmsCompany smsCompany) {
		super.delete(smsCompany);
	}
	
}